One moment please...
 
E-WMS   
 

E-WMS ASP error "Failed to access IIS metabase"

Problem

When starting E-WMS in Internet Explorer, following error appears:

Server Error in '/wms' Application.
 
Failed to access IIS metabase
 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
 
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.
 

 

or in a Dutch operating system:

Serverfout in toepassing /wms.
 
Kan geen toegang krijgen tot de IIS-metabase
 
Beschrijving: Er is een onverwerkte uitzondering opgetreden tijdens het uitvoeren van de huidige webaanvraag. Raadpleeg de stacktracering voor meer informatie over deze fout en de oorsprong ervan in de code.
Details van uitzondering: System.Web.Hosting.HostingEnvironmentException: Kan geen toegang krijgen tot de IIS-metabase.
 
De procesaccount waarmee ASP.NET wordt uitgevoerd, moet leestoegang hebben tot de IIS-metabase (bijvoorbeeld IIS://servernaam/W3SVC). Zie http://support.microsoft.com/?kbid=267904 voor informatie over het wijzigen van metabasemachtigingen.
 


Or:   error 404


Reason

The ASPNET user account (system worker process) does not have access to IIS.

 

Solution

The ASPNET worker process must be able to access the IIS metabase, which can be granted by executing the following commands in a command prompt (Start/Run/CMD) :

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -u

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i


If this doesn't work (you receive an error during the uninstall process in the first command), you may proceed to manually delete the aspnet_client directory which is typically located in C:\Inetpub\wwwroot

    pick-it

     
 Main Category: Support Product Know How  Document Type: Support - On-line help
 Category: On-line help files  Security  level: All - 0
 Sub category: temporary  Document ID: 19.380.991
 Assortment:  Date: 03-01-2014
 Release:  Attachment:
 Disclaimer